<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>自定义Step样式</title>
  <style>
    * {margin: 0; padding: 0;}
    ul, li {
      list-style: none;
      margin: 0;
    }
    .cus-steps {
      display: flex;
      width: 500px;
      margin: 50px auto;    
    }
    .cus-steps > li {
      flex: 1;
      text-align: center;
      position: relative;
      user-select: none;
    }
    .cus-steps > li:after {
      content: '';
      position: absolute;
      z-index: 0;
      left: -50%;
      top: 14px;
      width: 100%;
      height: 3px;
      background-color: #eee;
    }
    .cus-steps >li:first-child:after {
      display: none;
    }
    .cus-steps li .num {
      box-sizing: border-box;
      position: relative;
      z-index: 2;
      width: 30px;
      height: 30px;
      margin: 0 auto;
      line-height: 28px;
      background-color: #eee;
      border: 1px solid #ccc;
      color: #666;
      font-weight: 500;
      border-radius: 50%;
      transition: all 0.3s ease-in;
    }
    .cus-steps li .txt {
      font-size: 14px;
      line-height: 30px;
    }

    .cus-steps li.active .num {
      background-color: #f98e44;
      color: #fff;
      border-color: #e27325;
    }
    .cus-steps li.active .txt {
      color: #e27325;
    }
    .cus-steps > li.active:after {
      background-color: #f98e44;
    }

    .cus-steps li:hover .num {
      background-color: #ddd;
    }
    .cus-steps li.active:hover .num {
      background-color: #e27325;
    }
  </style>
</head>
<body>
  <ul class="cus-steps">
    <li class="active">
      <p class="num">1</p>
      <div class="txt">提交</div>
    </li>
    <li class="active">
      <p class="num">2</p>
      <div class="txt">初审</div>
    </li>
    <li>
      <p class="num">3</p>
      <div class="txt">复审</div>
    </li>
    <li>
      <p class="num">4</p>
      <div class="txt">付款</div>
    </li>
    <li>
      <p class="num">5</p>
      <div class="txt">入账</div>
    </li>
  </ul>
</body>
</html>